nlp_architect.common.cdc.mention_data.MentionDataLight

class nlp_architect.common.cdc.mention_data.MentionDataLight(tokens_str: str, mention_context: str = None, mention_head: str = None, mention_head_lemma: str = None, mention_pos: str = None, mention_ner: str = None)[source]
__init__(tokens_str: str, mention_context: str = None, mention_head: str = None, mention_head_lemma: str = None, mention_pos: str = None, mention_ner: str = None)[source]

Object represent a mention with only text values :param tokens_str: str the tokens combine text (join with space) :param mention_head: str :param mention_head_lemma: str

Methods

__init__(tokens_str, mention_context, …)

Object represent a mention with only text values :param tokens_str: str the tokens combine text (join with space) :param mention_head: str :param mention_head_lemma: str